FROM python:3.7-alpine
RUN apk add --no-cache gcc musl-dev build-base linux-headers
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
CMD ["gunicorn", "--access-logfile", "-", "-w", "1", "-b", "0:5000", "app:app"]
# CMD ["python3", "app.py"]
